const files = require.context('.', false, /\.js$/);
const modules = [];

files.keys().forEach(key => {
  if (key !== './index.js') {
    const item = files(key).default;
    modules.push(...item);
  }
});

export default modules;
